#include "server.hpp"

static void Usage()
{
    std::cout << "Usgae:\n\t ./server port" <<std::endl;
    exit(4);
}
int main(int argc,char* argv[])
{
    if(argc != 2) Usage();
    ServerTcp svr(atoi(argv[1]));
    svr.init();
    svr.loop();
    return 0;
}